//
//  LTView.h
//  DoubanProject
//
//  Created by 花磊 on 15/5/13.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LTView : UIView
@property (nonatomic,retain,readonly)UILabel *label;
@property (nonatomic,retain,readonly)UITextField *textField;

- (instancetype)initWithFrame:(CGRect)frame labelDescription:(NSString *)labelDescription placeholder:(NSString *)placeholder security:(BOOL)security;

- (instancetype)initWithFrame:(CGRect)frame labelDescription:(NSString *)labelDescription placeholder:(NSString *)placeholder security:(BOOL)security keyboardType:(UIKeyboardType)keyboardType;

#warning 给外界提供一个接口，快速获取LTView里面textField里面的值。
- (void)setText:(NSString *)text;
- (NSString *)text;

@end
